﻿using System;
using System.Collections.Generic;
using System.Text;

namespace TXK
{
    /// <summary>
    /// CPU型号
    /// </summary>
    public enum CpuType
    {
        /// <summary>
        /// S7-200
        /// </summary>
        S7200 = 0,
        /// <summary>
        /// S7-200 Smart
        /// </summary>
        S7200SMART = 1,
        /// <summary>
        /// S7-300
        /// </summary>
        S7300 = 10,
        /// <summary>
        /// S7-400
        /// </summary>
        S7400 = 20,
        /// <summary>
        /// S7-1200
        /// </summary>
        S71200 = 21,
        /// <summary>
        /// S7-1500
        /// </summary>
        S71500 = 22
    }
    /// <summary>
    /// 西门子PLC存储区
    /// </summary>
    public enum StoreType
    {
        /// <summary>
        /// I存储区
        /// </summary>
        Input = 129,
        /// <summary>
        /// Q存储区
        /// </summary>
        Output = 130,
        /// <summary>
        /// M存储区
        /// </summary>
        Marker = 131,
        /// <summary>
        /// DB存储区
        /// </summary>
        DataBlock = 132,
        /// <summary>
        /// Timer存储区
        /// </summary>
        Timer = 29,
        /// <summary>
        /// Counter存储区
        /// </summary>
        Counter = 28
    }

   

}
